<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleOrderBeanProxyid" scope="session" class="archsw0904.controller.shopping.order.OrderBeanProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
sampleOrderBeanProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = sampleOrderBeanProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        sampleOrderBeanProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        archsw0904.controller.shopping.order.OrderBean getOrderBean10mtemp = sampleOrderBeanProxyid.getOrderBean();
if(getOrderBean10mtemp == null){
%>
<%=getOrderBean10mtemp %>
<%
}else{
        if(getOrderBean10mtemp!= null){
        String tempreturnp11 = getOrderBean10mtemp.toString();
        %>
        <%=tempreturnp11%>
        <%
        }}
break;
case 13:
        gotMethod = true;
        String arg0_1id=  request.getParameter("arg016");
            java.lang.String arg0_1idTemp = null;
        if(!arg0_1id.equals("")){
         arg0_1idTemp  = arg0_1id;
        }
        String arg1_2id=  request.getParameter("arg118");
            java.lang.String arg1_2idTemp = null;
        if(!arg1_2id.equals("")){
         arg1_2idTemp  = arg1_2id;
        }
        String arg2_3id=  request.getParameter("arg220");
            java.lang.String arg2_3idTemp = null;
        if(!arg2_3id.equals("")){
         arg2_3idTemp  = arg2_3id;
        }
        String arg3_4id=  request.getParameter("arg322");
            java.lang.String arg3_4idTemp = null;
        if(!arg3_4id.equals("")){
         arg3_4idTemp  = arg3_4id;
        }
        String arg4_5id=  request.getParameter("arg424");
            java.lang.String arg4_5idTemp = null;
        if(!arg4_5id.equals("")){
         arg4_5idTemp  = arg4_5id;
        }
        String arg5_6id=  request.getParameter("arg526");
            java.lang.String arg5_6idTemp = null;
        if(!arg5_6id.equals("")){
         arg5_6idTemp  = arg5_6id;
        }
        sampleOrderBeanProxyid.checkHomeDelivery(arg0_1idTemp,arg1_2idTemp,arg2_3idTemp,arg3_4idTemp,arg4_5idTemp,arg5_6idTemp);
break;
case 28:
        gotMethod = true;
        String arg0_7id=  request.getParameter("arg065");
            java.lang.Integer arg0_7idTemp = null;
        if(!arg0_7id.equals("")){
         arg0_7idTemp  = java.lang.Integer.valueOf(arg0_7id);
        }
        String arg1_8id=  request.getParameter("arg167");
            java.lang.String arg1_8idTemp = null;
        if(!arg1_8id.equals("")){
         arg1_8idTemp  = arg1_8id;
        }
        String arg2_9id=  request.getParameter("arg269");
            java.lang.String arg2_9idTemp = null;
        if(!arg2_9id.equals("")){
         arg2_9idTemp  = arg2_9id;
        }
        String arg3_10id=  request.getParameter("arg371");
            java.lang.String arg3_10idTemp = null;
        if(!arg3_10id.equals("")){
         arg3_10idTemp  = arg3_10id;
        }
        String arg4_11id=  request.getParameter("arg473");
            java.lang.String arg4_11idTemp = null;
        if(!arg4_11id.equals("")){
         arg4_11idTemp  = arg4_11id;
        }
        String arg5_12id=  request.getParameter("arg575");
            java.lang.String arg5_12idTemp = null;
        if(!arg5_12id.equals("")){
         arg5_12idTemp  = arg5_12id;
        }
        String arg6_13id=  request.getParameter("arg677");
            java.lang.String arg6_13idTemp = null;
        if(!arg6_13id.equals("")){
         arg6_13idTemp  = arg6_13id;
        }
        archsw0904.controller.shopping.order.Orders createOrder28mtemp = sampleOrderBeanProxyid.createOrder(arg0_7idTemp,arg1_8idTemp,arg2_9idTemp,arg3_10idTemp,arg4_11idTemp,arg5_12idTemp,arg6_13idTemp);
if(createOrder28mtemp == null){
%>
<%=createOrder28mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">state:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.String typestate31 = createOrder28mtemp.getState();
        String tempResultstate31 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestate31));
        %>
        <%= tempResultstate31 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">id:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.Integer typeid33 = createOrder28mtemp.getId();
        String tempResultid33 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeid33));
        %>
        <%= tempResultid33 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">bookList:</TD>
<TD>
<%
if(createOrder28mtemp != null){
archsw0904.controller.shopping.order.OrdersBookListEntry[] typebookList35 = createOrder28mtemp.getBookList();
        String tempbookList35 = null;
        if(typebookList35 != null){
        java.util.List listbookList35= java.util.Arrays.asList(typebookList35);
        tempbookList35 = listbookList35.toString();
        }
        %>
        <%=tempbookList35%>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">date:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.util.Calendar typedate37 = createOrder28mtemp.getDate();
        java.text.DateFormat dateFormatdate37 = java.text.DateFormat.getDateInstance();
        java.util.Date datedate37 = typedate37.getTime();
        String tempResultdate37 = org.eclipse.jst.ws.util.JspUtils.markup(dateFormatdate37.format(datedate37));
        %>
        <%= tempResultdate37 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">client:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">address:</TD>
<TD>
<%
if(createOrder28mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=createOrder28mtemp.getClient();
if(tebece0 != null){
java.lang.String typeaddress41 = tebece0.getAddress();
        String tempResultaddress41 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaddress41));
        %>
        <%= tempResultaddress41 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">telephone:</TD>
<TD>
<%
if(createOrder28mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=createOrder28mtemp.getClient();
if(tebece0 != null){
java.lang.String typetelephone43 = tebece0.getTelephone();
        String tempResulttelephone43 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typetelephone43));
        %>
        <%= tempResulttelephone43 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">cap:</TD>
<TD>
<%
if(createOrder28mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=createOrder28mtemp.getClient();
if(tebece0 != null){
java.lang.String typecap45 = tebece0.getCap();
        String tempResultcap45 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecap45));
        %>
        <%= tempResultcap45 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">state:</TD>
<TD>
<%
if(createOrder28mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=createOrder28mtemp.getClient();
if(tebece0 != null){
java.lang.String typestate47 = tebece0.getState();
        String tempResultstate47 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestate47));
        %>
        <%= tempResultstate47 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">city:</TD>
<TD>
<%
if(createOrder28mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=createOrder28mtemp.getClient();
if(tebece0 != null){
java.lang.String typecity49 = tebece0.getCity();
        String tempResultcity49 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecity49));
        %>
        <%= tempResultcity49 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">deliveryName:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.String typedeliveryName51 = createOrder28mtemp.getDeliveryName();
        String tempResultdeliveryName51 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typedeliveryName51));
        %>
        <%= tempResultdeliveryName51 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">deliveryCode:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.Integer typedeliveryCode53 = createOrder28mtemp.getDeliveryCode();
        String tempResultdeliveryCode53 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typedeliveryCode53));
        %>
        <%= tempResultdeliveryCode53 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">deliveryCap:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.String typedeliveryCap55 = createOrder28mtemp.getDeliveryCap();
        String tempResultdeliveryCap55 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typedeliveryCap55));
        %>
        <%= tempResultdeliveryCap55 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">deliverySurname:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.String typedeliverySurname57 = createOrder28mtemp.getDeliverySurname();
        String tempResultdeliverySurname57 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typedeliverySurname57));
        %>
        <%= tempResultdeliverySurname57 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">total:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.math.BigDecimal typetotal59 = createOrder28mtemp.getTotal();
        String tempResulttotal59 = org.eclipse.jst.ws.util.JspUtils.markup(typetotal59.toString());
        %>
        <%= tempResulttotal59 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">deliveryCity:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.String typedeliveryCity61 = createOrder28mtemp.getDeliveryCity();
        String tempResultdeliveryCity61 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typedeliveryCity61));
        %>
        <%= tempResultdeliveryCity61 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">deliveryAddress:</TD>
<TD>
<%
if(createOrder28mtemp != null){
java.lang.String typedeliveryAddress63 = createOrder28mtemp.getDeliveryAddress();
        String tempResultdeliveryAddress63 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typedeliveryAddress63));
        %>
        <%= tempResultdeliveryAddress63 %>
        <%
}%>
</TD>
</TABLE>
<%
}
break;
case 79:
        gotMethod = true;
        String arg0_14id=  request.getParameter("arg0102");
            java.lang.Integer arg0_14idTemp = null;
        if(!arg0_14id.equals("")){
         arg0_14idTemp  = java.lang.Integer.valueOf(arg0_14id);
        }
        archsw0904.controller.shopping.order.Cart findCart79mtemp = sampleOrderBeanProxyid.findCart(arg0_14idTemp);
if(findCart79mtemp == null){
%>
<%=findCart79mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">client:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">address:</TD>
<TD>
<%
if(findCart79mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=findCart79mtemp.getClient();
if(tebece0 != null){
java.lang.String typeaddress84 = tebece0.getAddress();
        String tempResultaddress84 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaddress84));
        %>
        <%= tempResultaddress84 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">telephone:</TD>
<TD>
<%
if(findCart79mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=findCart79mtemp.getClient();
if(tebece0 != null){
java.lang.String typetelephone86 = tebece0.getTelephone();
        String tempResulttelephone86 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typetelephone86));
        %>
        <%= tempResulttelephone86 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">cap:</TD>
<TD>
<%
if(findCart79mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=findCart79mtemp.getClient();
if(tebece0 != null){
java.lang.String typecap88 = tebece0.getCap();
        String tempResultcap88 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecap88));
        %>
        <%= tempResultcap88 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">state:</TD>
<TD>
<%
if(findCart79mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=findCart79mtemp.getClient();
if(tebece0 != null){
java.lang.String typestate90 = tebece0.getState();
        String tempResultstate90 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestate90));
        %>
        <%= tempResultstate90 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">city:</TD>
<TD>
<%
if(findCart79mtemp != null){
archsw0904.controller.shopping.order.ProfileClient tebece0=findCart79mtemp.getClient();
if(tebece0 != null){
java.lang.String typecity92 = tebece0.getCity();
        String tempResultcity92 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecity92));
        %>
        <%= tempResultcity92 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">cartLines:</TD>
<TD>
<%
if(findCart79mtemp != null){
archsw0904.controller.shopping.order.CartCartLinesEntry[] typecartLines94 = findCart79mtemp.getCartLines();
        String tempcartLines94 = null;
        if(typecartLines94 != null){
        java.util.List listcartLines94= java.util.Arrays.asList(typecartLines94);
        tempcartLines94 = listcartLines94.toString();
        }
        %>
        <%=tempcartLines94%>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">date:</TD>
<TD>
<%
if(findCart79mtemp != null){
java.util.Calendar typedate96 = findCart79mtemp.getDate();
        java.text.DateFormat dateFormatdate96 = java.text.DateFormat.getDateInstance();
        java.util.Date datedate96 = typedate96.getTime();
        String tempResultdate96 = org.eclipse.jst.ws.util.JspUtils.markup(dateFormatdate96.format(datedate96));
        %>
        <%= tempResultdate96 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">total:</TD>
<TD>
<%
if(findCart79mtemp != null){
java.math.BigDecimal typetotal98 = findCart79mtemp.getTotal();
        String tempResulttotal98 = org.eclipse.jst.ws.util.JspUtils.markup(typetotal98.toString());
        %>
        <%= tempResulttotal98 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">cartId:</TD>
<TD>
<%
if(findCart79mtemp != null){
java.lang.Integer typecartId100 = findCart79mtemp.getCartId();
        String tempResultcartId100 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecartId100));
        %>
        <%= tempResultcartId100 %>
        <%
}%>
</TD>
</TABLE>
<%
}
break;
case 104:
        gotMethod = true;
        String arg0_15id=  request.getParameter("arg0107");
            java.lang.Integer arg0_15idTemp = null;
        if(!arg0_15id.equals("")){
         arg0_15idTemp  = java.lang.Integer.valueOf(arg0_15id);
        }
        int getBookList104mtemp = sampleOrderBeanProxyid.getBookList(arg0_15idTemp);
        String tempResultreturnp105 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getBookList104mtemp));
        %>
        <%= tempResultreturnp105 %>
        <%
break;
case 109:
        gotMethod = true;
        String arg0_16id=  request.getParameter("arg0112");
            java.lang.Integer arg0_16idTemp = null;
        if(!arg0_16id.equals("")){
         arg0_16idTemp  = java.lang.Integer.valueOf(arg0_16id);
        }
        archsw0904.controller.shopping.order.OrderView[] getOrderView109mtemp = sampleOrderBeanProxyid.getOrderView(arg0_16idTemp);
if(getOrderView109mtemp == null){
%>
<%=getOrderView109mtemp %>
<%
}else{
        String tempreturnp110 = null;
        if(getOrderView109mtemp != null){
        java.util.List listreturnp110= java.util.Arrays.asList(getOrderView109mtemp);
        tempreturnp110 = listreturnp110.toString();
        }
        %>
        <%=tempreturnp110%>
        <%
}
break;
}
} catch (Exception e) { 
%>
exception: <%= e %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>